package com.qingk.easyjava;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class App {

	public static void main(String[] args) {
		ApplicationContext ac = new ClassPathXmlApplicationContext("applicationContext.xml");
		GreetingService gs = ac.getBean(GreetingService.class);
		System.out.println(gs.greeting());
		
	}

}
